import threading
from network.receiver import start_receiver
from tool.ui import start_ui


def main():
    #启动监听线程
    receiver_thread = threading.Thread(target=start_receiver, daemon=True)
    receiver_thread.start()

    #启动图形化界面
    start_ui()


if __name__ == "__main__":
    main()
